package com.huangliusong.desigin.principle.demeter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author huangliusong
 * @since 2018/10/9
 * {@link }
 */
public class TeamLeader {
    public void checkNumberOfCourse(){
        List<Course> coursesList=new ArrayList<Course>();
        for (int i=0;i<20;i++){
            coursesList.add(new Course());
        }
        System.out.println("在线课程数量："+coursesList.size());
    }
}
